export interface loginForm{
    username:string,
    password:string
}

interface ResponseData{
    code:number,
    message: string
    ok:boolean
}

export interface loginResponseData extends ResponseData{
    data:string
}

export interface userInfoResponseData extends ResponseData{
    data:{
        name: string
        routes:string[],
        button:string[],
        roles:string[],
        avatar:string
    }
}
